﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Principal.Master" AutoEventWireup="true" CodeBehind="Clerigos.aspx.cs" Inherits="SIP.Clerigo" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <br />
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:Table ID="Table1" runat="server" CssClass="Tabla" Width="500" HorizontalAlign="Center">
            <asp:TableHeaderRow CssClass="TablaHeader">
                <asp:TableHeaderCell ColumnSpan="2">
                    Mantenimiento de Clérigos
                </asp:TableHeaderCell>
            </asp:TableHeaderRow>
                <asp:TableRow Height="22px">
                    <asp:TableCell>
                    </asp:TableCell>
                    <asp:TableCell>
                    </asp:TableCell>
                </asp:TableRow>
                 <asp:TableRow>
                    <asp:TableCell>Tipo Identificación</asp:TableCell>
                    <asp:TableCell>
                            <asp:DropDownList ID="ddlTipoIdentificacion" runat="server" CssClass="textEntry" 
                            Width="250px" AutoPostBack="True" onselectedindexchanged="ddlTipoIdentificacion_SelectedIndexChanged" ></asp:DropDownList>
                    </asp:TableCell>
                </asp:TableRow>
                <asp:TableRow>
                    <asp:TableCell>Identificación</asp:TableCell>
                    <asp:TableCell>
                     <asp:TextBox ID="mskCedula" runat="server" Width="250"></asp:TextBox>
                        <asp:MaskedEditExtender ID="Cedula" runat="server" MaskType="Number" TargetControlID="mskCedula" Mask="9999999999999999" AutoComplete="False" InputDirection="LeftToRight">
                        </asp:MaskedEditExtender>
                        <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Images/ver.gif"
                            OnClick="Buscar" ValidationGroup="v1" TabIndex="2" />
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" SkinID="Requerido"
                            ValidationGroup="v1" ControlToValidate="mskCedula"></asp:RequiredFieldValidator>
                    </asp:TableCell>
                </asp:TableRow>
                <asp:TableRow>
                </asp:TableRow>
                 <asp:TableRow>
                    <asp:TableCell>Nombre Completo</asp:TableCell>
                    <asp:TableCell>
                        <asp:TextBox runat="server" ID="txtNombre"  Width="320" Enabled="False" />
                    </asp:TableCell>
                </asp:TableRow>
                <asp:TableRow>
                    <asp:TableCell>Cargo</asp:TableCell>
                    <asp:TableCell>
                        <asp:DropDownList ID="ddlCargo" runat="server" CssClass="textEntry" 
                        Width="250px" AutoPostBack="false" TabIndex="3"></asp:DropDownList>
                    </asp:TableCell>
               </asp:TableRow>
               <asp:TableRow>
                      <asp:TableCell>Diócesis</asp:TableCell><asp:TableCell>
                        <asp:DropDownList ID="ddlDiocesis" runat="server" CssClass="textEntry" 
                        Width="250px" AutoPostBack="True" onselectedindexchanged="ddlDiocesis_SelectedIndexChanged" TabIndex="4"></asp:DropDownList>
                    </asp:TableCell>
                </asp:TableRow>
                <asp:TableRow>
                      <asp:TableCell>Parroquia</asp:TableCell>
                      <asp:TableCell>
                        <asp:DropDownList ID="ddlParroquia" runat="server" CssClass="textEntry" 
                        Width="250px" TabIndex="5"></asp:DropDownList>
                    </asp:TableCell>
               </asp:TableRow>
               <asp:TableRow>
                    <asp:TableCell>Activo</asp:TableCell><asp:TableCell>
                        <asp:CheckBox ID="chkactivo" runat="server" Checked="true" TabIndex="6" />
                    </asp:TableCell>
               </asp:TableRow>
               <asp:TableRow>
               </asp:TableRow>
               <asp:TableRow>
                    <asp:TableCell>        
                    </asp:TableCell><asp:TableCell>
                        <asp:ImageButton ID="Crear_Usuario" runat="server" ImageUrl="~/Images/btn_salvar.gif"
                        OnClick="Registrar" ValidationGroup="v1" TabIndex="7" />
                        &nbsp;&nbsp;&nbsp;
                        <asp:ImageButton ID="btnCancelar" runat="server" ImageUrl="~/Images/btn_cancelar.gif"
                        OnClick="Cancelar" TabIndex="8" />
                    </asp:TableCell></asp:TableRow><asp:TableRow>
        </asp:TableRow>
       <asp:TableFooterRow Height="22">
            <asp:TableCell>
            </asp:TableCell><asp:TableCell>
            </asp:TableCell></asp:TableFooterRow></asp:Table></asp:Content>